package com.example.test.entity;

public class UserRole {
    //光标在类里面按alt+insert,选择getter与setter自动生成
    private int id;
    private int uid;
    private int roleId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "user_role{" +
                "id=" + id +
                ", uid='" + uid + '\'' +
                ", role_id='" + roleId + '\'' +
                '}';
    }
}
